package com.xnyzc.lhy.mis.mapper.cms.util;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xnyzc.lhy.mis.entity.param.cms.RoleReceive;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 获取当前用户可查询的机构
 * @Author zhuyubin
 * @Date 2019-08-21 15:23
 **/
public interface OaSysGetOfficeIdListMapper {

    /**
     * 获取当前用户可查询的部门
     * @param wrapper
     * @return
     */
    List<Long> selectOfficeList(@Param(Constants.WRAPPER) Wrapper wrapper);


    List<RoleReceive> selectOfficeNameList(QueryWrapper queryWrapper);
}
